package com.lqian.inner_class.demo05;

/**
 * @author：Melody_LQ
 * @time：2022/9/4 2:22 下午
 */
public class Bicycle implements Cycle{

    private Bicycle() {
    }

    @Override
    public void make() {
        System.out.println("Bicycle is made...");
    }

    public static CycleFactory factory = new CycleFactory() {
        @Override
        public Cycle getCycle() {
            return new Bicycle();
        }
    };
}
